﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace Himp.Outpatient
{
    /// <summary>
    /// 检治项目明细
    /// </summary>
    public class ClinicItemRecordDetail : AuditedAggregateRoot<Guid>, IMultiTenant
    {
        /// <summary>
        /// 检治申请单Id
        /// </summary>
        public Guid ClinicItemRecordId { get; set; }

        /// <summary>
        /// 检治申请单
        /// </summary>
        public ClinicItemRecord ClinicItemRecord { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public string IndexNo { get; set; }

        /// <summary>
        /// 临床项目编码
        /// </summary>
        public string ClinicItemValue { get; set; }

        /// <summary>
        /// 临床项目名称
        /// </summary>
        public string ClinicItemLabel { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }

        #region todo remove

        ///// <summary>
        ///// 诊间
        ///// </summary>
        //public string? RoomValue { get; set; }

        ///// <summary>
        ///// 诊间
        ///// </summary>
        //public string? RoomLabel { get; set; }

        ///// <summary>
        ///// 设备
        ///// </summary>
        //public string? EquipmentValue { get; set; }

        ///// <summary>
        ///// 设备
        ///// </summary>
        //public string? EquipmentLabel { get; set; }

        #endregion

        /// <summary>
        /// 审核人
        /// </summary>
        public string? ReviewStaffCode { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string? ReviewStaffName { get; set; }

        /// <summary>
        /// 审核日期
        /// </summary>
        public DateTime? ReviewDate { get; set; }

        /// <summary>
        /// 执行时间
        /// </summary>
        public DateTime? ExecutionTime { get; set; }

        /// <summary>
        /// 执行人
        /// </summary>
        public string? ExecutionStaffValue { get; set; }

        /// <summary>
        /// 执行人
        /// </summary>
        public string? ExecutionStaffLabel { get; set; }

        /// <summary>
        /// 临床收费记录No
        /// </summary>
        public string ClinicChargeRecordNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }
    }
}
